package zestaw4.zadanie1;

/**
 * Author: Daniel
 * Date: 03.08.13
 */

public class Main {
    public static void main(String[] args) {
        Person p1 = new Person("Zwalski");
        Person p2 = new Person("Kowalski");

        System.out.println(p1.equals(p2));

        Worker w1 = new Worker(p1, 2000);
        Worker w2 = new Worker(p2, 2000);

        System.out.println(w1.equals(w2));

        System.out.println(p1.compareTo(null));
    }
}
